home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if x%1" == x goto showUsage
- colon %1
- if errorLevel 4 goto noColon
- if errorLevel 3 goto notDrive
- if errorLevel 2 goto wrongSz
- if errorLevel 1 goto showUsage
- echo You are installing farVIEW/S from this drive
- echo onto drive %1.
- echo No changes will be made to your CONFIG.SYS nor to your
- echo AUTOEXEC.BAT.
- echo However, a directory called farVIEW will be added to your
- echo root directory on drive %1.
- echo The farVIEW/S materials required for the system will occupy
- echo about 750K of disk space. If this is not acceptable to
- echo you, then press ^C to terminate the installation.
- pause
- cd %1\
- md %1farVIEW
- cd %1farVIEW
- copy read.me %1
- pkunzip -o *.zip %1
- %1
- echo This completes installation of the farVIEW materials.
- echo Please read LICENSE.DOC, then read READ.ME, which contains
- echo much valuable information about using farVIEW. To run
- echo farVIEW, first make sure your mouse driver is installed,
- echo then type
- echo %1
- echo CD \FARVIEW
- echo FARVIEW HELP
- goto end
- :noColon
- echo Be sure to include the colon in the drive specification.
- echo For example...
- echo INSTALL C:
- goto end
- :notDrive
- echo %1 is not a valid drive specification. It must be in the
- echo range C: to H:. For example...
- echo INSTALL E:
- goto end
- :wrongSz
- echo %1 improperly constructed. For example...
- echo INSTALL F:
- goto end
- :showUsage
- echo This INSTALL batch requires a parameter to specify the
- echo hard drive on which to install the farVIEW/S materials.
- echo For example, to install from Drive A to the hard disk
- echo on Drive D, type...
- echo A:
- echo INSTALL D:
- :end